package com.sz.jinzheng.model;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class RoleUsers {
    /**
     * 角色跟用户的中间表id
     */
    private Integer id;
    /**
     * 角色id
     */
    private Integer rid;
    /**
     * 用户id
     */
    private Integer uid;

    public RoleUsers(Integer rid, Integer uid) {
        this.rid = rid;
        this.uid = uid;
    }
}
